package com.hanson.mapper;

import com.hanson.entity.GoodsAttrBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsAttrBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByGoodsId(@Param("goodsId") Integer goodsId);

    int insert(GoodsAttrBean record);

    GoodsAttrBean selectByPrimaryKey(Integer id);

    List<GoodsAttrBean> selectByGoodsId(@Param("goodsId") Integer goodsId);

    List<GoodsAttrBean> selectAll();

    int updateByPrimaryKey(GoodsAttrBean record);
}